package com.example.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.config.exception.GlobalExcetion;
import com.example.system.domain.BusSystemTable;
import com.example.system.domain.SysTableScript;

import java.util.List;

/**
* @author CETC
* @description 针对表【bus_system_table】的数据库操作Service
* @createDate 2025-10-25 10:21:48
*/
public interface BusSystemTableService extends IService<BusSystemTable> {


    public void createBusSystemTable(String tableScripeId) throws GlobalExcetion;

    public void createBusSystemTable(SysTableScript sysTableScript) throws GlobalExcetion;

    public void createTable(String sqlScript);

    public void executeSql(String sqlScript);

    public boolean tableExist(String tableName);

    public BusSystemTable getBusSystemTable(String no,String node);

    public List<BusSystemTable> getListByTableName(String tableName);

    public List<String> getTableList(SysTableScript sysTableScript);

    public String createUUID(String tableName);

    public String getTableNameByUUID(String uuid) throws GlobalExcetion;

    public BusSystemTable getByRealTableName(String realTableName);

    public BusSystemTable getByTableNo(String tableNo);
}
